<template>
	<view class="">
			<web-view :src="src"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				ids:'',
				src:''
			}
		},
		onLoad(options){
			console.log(options.id,'options');
			//https:///map/driving-route.html?ids={ids}
			this.src = `https://huijuniot.net.cn/prod-api/map/driving-route.html?ids=${options.id}`
		}
	}
</script>
<style scoped>
	.ditu {
		width: 100vw;
		height: 40vh;
	}
</style>